package com.zhentao.controller;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.AppUserService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
@RestController
@RequestMapping("/user")
public class UserController {
    @Resource
    AppUserService appUserService;
    /**
     * 根据用户id查询用户信息
     * @param
     * @return
     */
    @GetMapping("/selectByUid")
    @ApiOperation("根据用户id查询用户信息")
    public ResponseResult selectByUid(){
        return appUserService.selectByUid();
    }
}
